<%-- 
    Document   : start
    Created on : 04.12.2013, 13:54:22
    Author     : j
--%>

<%@page import="java.text.SimpleDateFormat"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%! private SimpleDateFormat sdf = new SimpleDateFormat("yyyy");%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" href="css/mystyle.css" rel="stylesheet"/>
        <title>Login</title>
    </head>
    <body>
        <h1>Login</h1>
        <form action="../Login" method="POST">
            <table border="1">
                <tbody>
                    <tr>
                        <td class="login">Username:</td>
                        <td><input type="text" name="username" value="" /></td>
                    </tr>
                    <tr>
                        <td class="login">Passwort:</td>
                        <td><input type="password" name="password" value="" /></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><input type="submit" value="login" /></td>
                    </tr>
                </tbody>
            </table>
        </form>
        <%
          String   errMsg = (String) session.getAttribute("errorLogin");
          if(errMsg != null){
              out.println("<div class=\"error\">"+errMsg+"</div>");
          }
        %>
        <br>
        <a href="Register.jsp">Register</a>
</body>
</html>
